// import { UserLayout } from '@/components/layouts' //, BasicLayout, BlankLayout
//private静态路由数据
// import { routers } from "@/router/private/page.router";
import { getMenus } from '@/utils/token'
export const routerPage = [

  // {
  //   path: "/backstage/index",
  //   hidden: true,
  //   meta: { title: "海南省水务建设质量信息管理系统" },
  //   component: () => import("@/views/backstage/index.vue"),
  // },
  // {
  //   path: "/cms/welcome",
  //   hidden: true,
  //   meta: { title: "海南省水务建设质量信息管理系统-欢迎页" },
  //   component: () => import("@/views/cms/welcome.vue"),
  // },
  {
    path: "/",
    hidden: true,
    redirect: "/center/index",
    meta: { title: "",hideTitle: true  },
    component: () => import("@/views/index.vue"),
    children:[
      {
        path: "/center/index",
        hidden: true,
        redirect: "/center/homePage",
        meta: { title: "首页" },
        component: () => import("@/views/center/index.vue"),
        children: [
          {
            path: "/center/homePage",
            name: "homePage",
            meta: { title: "首页", icon: "child" },
            component: () => import("@/views/center/home/homePage.vue")
          }, {
            path: "/center/newsPage",
            name: "newsPage",
            redirect: "/center/newsPage/noticePage",
            meta: { title: "新闻通知", type: "child",mkey:'1'  },
            component: () => import("@/views/center/news/newsPage.vue"),
            children: [
              {
                path: "/center/newsPage/noticePage",
                name: "noticePage",
                meta: { title: "通知公告", type: "child",mkey:'1' },
                component: () => import("@/views/center/news/notice.vue")
              },{
                path: "/center/newsPage/focusNewsPage",
                name: "focusNewsPage",
                meta: { title: "新闻动态", icon: "child",mkey:'2' },
                component: () => import("@/views/center/news/focusNews.vue")
              },
            ]
          },
          {
            path: "/center/badBehaviorPage",
            name: "badBehaviorPage",
            meta: { title: "不良行为", type: "child" },
            component: () => import("@/views/center/badBehavior/badBehavior.vue"),
          },
          {
            path: "/center/commendPunishPage",
            name: "commendPunishPage",
            redirect: "/center/commendPunishPage/commendPage",
            meta: { title: "表彰与惩罚", type: "child",mkey:'1'  },
            component: () => import("@/views/center/commendPunish/commendPunishPage.vue"),
            children: [
              {
                path: "/center/commendPunishPage/commendPage",
                name: "commendPage",
                meta: { title: "表彰公告", type: "child",mkey:'1' },
                component: () => import("@/views/center/commendPunish/commend.vue")
              },{
                path: "/center/commendPunishPage/punishPage",
                name: "punishPage",
                meta: { title: "惩罚公告", icon: "child",mkey:'2' },
                component: () => import("@/views/center/commendPunish/punish.vue")
              },
              {
                path: "/center/commendPunishPage/all",
                name: "all",
                meta: { title: "联合奖惩", icon: "child",mkey:'3' },
                component: () => import("@/views/center/commendPunish/all.vue")
              },
            ]
          },
          {
            path: "/center/creditPage",
            name: "creditPage",
            meta: { title: "信用评价", type: "child" },
            component: () => import("@/views/center/creditEvaluation/creditPage.vue")
          },{
            path: "/center/baseInfoPage",
            name: "baseInfoPage",
            meta: { title: "质量信息", type: "child" },
            component: () => import("@/views/center/qualityInfo/projBaseInfoPage.vue")
          },{
            path: "/center/projPublicInfoPage",
            name: "projPublicInfoPage",
            redirect: "/center/projPublicInfo/baseInfoPage",
            meta: { title: "项目信息", type: "child" },
            component: () => import("@/views/center/projPublicInfo/projPublicInfoPage.vue"),
            children: [
              {
                path: "/center/projPublicInfo/baseInfoPage",
                name: "baseInfoPage",
                meta: { title: "基本信息", icon: "child" ,mkey:'5'},
                component: () => import("@/views/center/projPublicInfo/baseinfoList.vue")
              },
              {
                path: "/center/projPublicInfo/tenderInfoPage",
                name: "tenderInfoPage",
                meta: { title: "招标信息", icon: "child" ,mkey:'1'},
                component: () => import("@/views/center/projPublicInfo/bidinfoList.vue")
              },
              {
                path: "/center/projPublicInfo/winBidPage",
                name: "winBidPage",
                meta: { title: "中标公示", type: "child" ,mkey:'2'},
                component: () => import("@/views/center/projPublicInfo/winBidList.vue")
              },
              {
                path: "/center/projPublicInfo/accidentPage",
                name: "accidentPage",
                meta: { title: "事故信息记录", type: "child" ,mkey:'3'},
                component: () => import("@/views/center/projPublicInfo/accidentList.vue")
              },
              {
                path: "/center/projPublicInfo/qualityInfoManagePage",
                name: "qualityInfoManagePage",
                meta: { title: "质量信息管理", type: "child" ,mkey:'4'},
                component: () => import("@/views/center/projPublicInfo/qualityInfoManageList.vue")
              }
            ]
          },{
            path: "/center/projPublicInfo/baseInfoDetail",
            name: "baseInfoDetail",
            meta: { title: "基本信息详情", type: "child" },
            component: () => import("@/views/center/projPublicInfo/baseInfoDetail.vue")
          },{
            path: "/center/projPublicInfo/bidInfoDetail",
            name: "bidInfoDetail",
            meta: { title: "招标信息详情", type: "child" },
            component: () => import("@/views/center/projPublicInfo/bidInfoDetail.vue")
          },{
            path: "/center/projPublicInfo/winBidDetail",
            name: "winBidDetail",
            meta: { title: "中标公示详情", type: "child" },
            component: () => import("@/views/center/projPublicInfo/winBidDetail.vue")
          },{
            path: "/center/projPublicInfo/accidentDetail",
            name: "accidentDetail",
            meta: { title: "事故信息记录详情", type: "child" },
            component: () => import("@/views/center/projPublicInfo/accidentDetail.vue")
          },{
            path: "/center/projPublicInfo/qualityInfoManageDetail",
            name: "qualityInfoManageDetail",
            meta: { title: "质量信息管理详情", type: "child" },
            component: () => import("@/views/center/projPublicInfo/qualityInfoManageDetail.vue")
          },{
            path: "/center/workingUnitPage",
            name: "workingUnitPage",
            redirect: "/center/workingUnitPage/all",
            meta: { title: "从业单位", type: "child" },
            component: () => import("@/views/center/workingUnit/workingUnitPage.vue"),
            children: [
              {
                path: "/center/workingUnitPage/designPage",
                name: "designPage",
                meta: { title: "设计单位", icon: "child",mkey:'1' },
                component: () => import("@/views/center/workingUnit/unit.vue")
              },
              {
                path: "/center/workingUnitPage/constructionPage",
                name: "constructionPage",
                meta: { title: "施工单位", type: "child" ,mkey:'2'},
                component: () => import("@/views/center/workingUnit/unit.vue")
              },
              {
                path: "/center/workingUnitPage/informationizePage",
                name: "informationizePage",
                meta: { title: "信息化单位", type: "child" ,mkey:'3'},
                component: () => import("@/views/center/workingUnit/unit.vue")
              },{
                path: "/center/workingUnitPage/supervisorPage",
                name: "supervisorPage",
                meta: { title: "监理单位", type: "child" ,mkey:'4'},
                component: () => import("@/views/center/workingUnit/unit.vue")
              },{
                path: "/center/workingUnitPage/agencyPage",
                name: "agencyPage",
                meta: { title: "招标代理单位", type: "child" ,mkey:'5'},
                component: () => import("@/views/center/workingUnit/unit.vue")
              },{
                path: "/center/workingUnitPage/qualityInspectionPage",
                name: "qualityInspectionPage",
                meta: { title: "质量检测单位", type: "child" ,mkey:'6'},
                component: () => import("@/views/center/workingUnit/unit.vue")
              },{
                path: "/center/workingUnitPage/surveyPage",
                name: "surveyPage",
                meta: { title: "勘察单位", type: "child" ,mkey:'7'},
                component: () => import("@/views/center/workingUnit/unit.vue")
              },{
                path: "/center/workingUnitPage/consultingPage",
                name: "consultingPage",
                meta: { title: "咨询单位", type: "child" ,mkey:'8'},
                component: () => import("@/views/center/workingUnit/unit.vue")
              },
              {
                path: "/center/workingUnitPage/machineryPage",
                name: "machineryPage",
                meta: { title: "机械制造单位", type: "child" ,mkey:'9'},
                component: () => import("@/views/center/workingUnit/unit.vue")
              },
              {
                path: "/center/workingUnitPage/otherPage",
                name: "otherPage",
                meta: { title: "其他单位", type: "child" ,mkey:'10'},
                component: () => import("@/views/center/workingUnit/unit.vue")
              },
              {
                path: "/center/workingUnitPage/all",
                name: "all",
                meta: { title: "全部", type: "child" ,mkey:'11'},
                component: () => import("@/views/center/workingUnit/unit.vue")
              },
            ]
          },{
            path: "/center/workingUnitPage/unitDetail",
            name: "unitDetail",
            meta: { title: "从业单位详细信息", type: "child" },
            component: () => import("@/views/center/workingUnit/unitDetail.vue")
          },{
            path: "/center/workingPersonPage",
            name: "workingPersonPage",
            meta: { title: "从业人员", type: "child" },
            component: () => import("@/views/center/workingPerson/workingPersonPage.vue")
          },{
            path: "/center/workingPersonPage/personDetail",
            name: "personDetail",
            meta: { title: "从业人员详细信息", type: "child" },
            component: () => import("@/views/center/workingPerson/personDetail.vue")
          },{
            path: "/center/reportCenterPage",
            name: "reportCenterPage",
            redirect: "/center/reportCenterPage/bjqkgkPage",
            meta: { title: "举报投诉", type: "child" },
            component: () => import("@/views/center/reportCenter/reportCenterPage.vue"),
            children: [
              {
                path: "/center/reportCenterPage/bjqkgkPage",
                name: "bjqkgkPage",
                meta: { title: "办件情况公开", icon: "child",mkey:'1' },
                component: () => import("@/views/center/reportCenter/list.vue")
              },
              {
                path: "/center/reportCenterPage/wycxPage",
                name: "wycxPage",
                meta: { title: "办件查询", type: "child",mkey:'2' },
                component: () => import("@/views/center/reportCenter/list.vue")
              },
              {
                path: "/center/reportCenterPage/notePage",
                name: "notePage",
                meta: { title: "注意事项", type: "child",mkey:'3' },
                component: () => import("@/views/center/reportCenter/note_report.vue")
              },
            ]
          },
          {
            path: "/center/reportCenterPage/newReport",
            name: "newReport",
            meta: { title: "举报投诉", type: "child" },
            component: () => import("@/views/center/reportCenter/new_report.vue")
          },
          {
            path: "/center/reportCenterPage/detailReport",
            name: "detailReport",
            meta: { title: "举报投诉结果", type: "child" },
            component: () => import("@/views/center/reportCenter/detail_report.vue")
          },
          {
            path: "/center/reportCenterPage/nodeReport",
            name: "nodeReport",
            meta: { title: "注意事项", type: "child" },
            component: () => import("@/views/center/reportCenter/note_report.vue")
          },
          {
            path: "/center/newsPage/newsDetail",
            name: "newsDetail",
            meta: { title: "详情", type: "child" },
            component: () => import("@/views/center/news/newsDetail.vue")
          },

        ]

      },

    ],
  },
  // {
  //   path: "/",
  //   hidden: true,
  //   redirect: "/center/homePage",
  //   meta: { title: "首页" },
  //   component: () => import("@/views/center/index.vue"),
  //   children: [
  //     {
  //       path: "/center/homePage",
  //       name: "homePage",
  //       meta: { title: "首页", icon: "child" },
  //       component: () => import("@/views/center/homePage.vue")
  //     }, {
  //       path: "/center/newsPage",
  //       name: "newsPage",
  //       redirect: "/center/newsPage/noticePage",
  //       meta: { title: "新闻通知", type: "child" },
  //       component: () => import("@/views/center/newsPage.vue"),
  //       children: [
  //         {
  //           path: "/center/newsPage/noticePage",
  //           name: "noticePage",
  //           meta: { title: "通知公告", type: "child" },
  //           component: () => import("@/views/center/news/notice.vue")
  //         },{
  //           path: "/center/newsPage/focusNewsPage",
  //           name: "focusNewsPage",
  //           meta: { title: "新闻动态", icon: "child" },
  //           component: () => import("@/views/center/news/focusNews.vue")
  //         },
  //       ]
  //     }, {
  //       path: "/center/badBehaviorPage",
  //       name: "badBehaviorPage",
  //       // redirect: "/center/commendPunishPage/commendPage",
  //       meta: { title: "不良行为", type: "child" },
  //       component: () => import("@/views/center/badBehavior.vue"),
  //       // children: [
  //       //   {
  //       //     path: "/center/commendPunishPage/commendPage",
  //       //     name: "commendPage",
  //       //     meta: { title: "表彰通告", icon: "child" },
  //       //     component: () => import("@/views/center/commendPunish/commend.vue")
  //       //   },
  //       //   {
  //       //     path: "/center/commendPunishPage/punishPage",
  //       //     name: "punishPage",
  //       //     meta: { title: "处罚通告", type: "child" },
  //       //     component: () => import("@/views/center/commendPunish/punish.vue")
  //       //   },
  //       // ]
  //     },{
  //       path: "/center/creditPage",
  //       name: "creditPage",
  //       meta: { title: "信用评价", type: "child" },
  //       component: () => import("@/views/center/creditPage.vue")
  //     },{
  //       path: "/center/baseInfoPage",
  //       name: "baseInfoPage",
  //       meta: { title: "质量信息", type: "child" },
  //       component: () => import("@/views/center/projBaseInfoPage.vue")
  //     },{
  //       path: "/center/projPublicInfoPage",
  //       name: "projPublicInfoPage",
  //       redirect: "/center/projPublicInfo/tenderInfoPage",
  //       meta: { title: "项目信息", type: "child" },
  //       component: () => import("@/views/center/projPublicInfoPage.vue"),
  //       children: [
  //         {
  //           path: "/center/projPublicInfo/tenderInfoPage",
  //           name: "tenderInfoPage",
  //           meta: { title: "招标信息", icon: "child" },
  //           component: () => import("@/views/center/projPublicInfo/publicInfo.vue")
  //         },
  //         {
  //           path: "/center/projPublicInfo/winBidPage",
  //           name: "winBidPage",
  //           meta: { title: "中标公示", type: "child" },
  //           component: () => import("@/views/center/projPublicInfo/publicInfo.vue")
  //         },
  //       ]
  //     },{
  //       path: "/center/projPublicInfo/bidInfoDetail",
  //       name: "bidInfoDetail",
  //       meta: { title: "招标信息详情", type: "child" },
  //       component: () => import("@/views/center/projPublicInfo/bidInfoDetail.vue")
  //     },{
  //       path: "/center/projPublicInfo/winBidDetail",
  //       name: "winBidDetail",
  //       meta: { title: "中标公示详情", type: "child" },
  //       component: () => import("@/views/center/projPublicInfo/winBidDetail.vue")
  //     },{
  //       path: "/center/workingUnitPage",
  //       name: "workingUnitPage",
  //       redirect: "/center/workingUnitPage/designPage",
  //       meta: { title: "从业单位", type: "child" },
  //       component: () => import("@/views/center/workingUnitPage.vue"),
  //       children: [
  //         {
  //           path: "/center/workingUnitPage/designPage",
  //           name: "designPage",
  //           meta: { title: "设计", icon: "child" },
  //           component: () => import("@/views/center/workingUnit/unit.vue")
  //         },
  //         {
  //           path: "/center/workingUnitPage/constructionPage",
  //           name: "constructionPage",
  //           meta: { title: "施工", type: "child" },
  //           component: () => import("@/views/center/workingUnit/unit.vue")
  //         },
  //         {
  //           path: "/center/workingUnitPage/informationizePage",
  //           name: "informationizePage",
  //           meta: { title: "信息化", type: "child" },
  //           component: () => import("@/views/center/workingUnit/unit.vue")
  //         },{
  //           path: "/center/workingUnitPage/supervisorPage",
  //           name: "supervisorPage",
  //           meta: { title: "监理", type: "child" },
  //           component: () => import("@/views/center/workingUnit/unit.vue")
  //         },{
  //           path: "/center/workingUnitPage/agencyPage",
  //           name: "agencyPage",
  //           meta: { title: "招标代理", type: "child" },
  //           component: () => import("@/views/center/workingUnit/unit.vue")
  //         },{
  //           path: "/center/workingUnitPage/qualityInspectionPage",
  //           name: "qualityInspectionPage",
  //           meta: { title: "质量检测", type: "child" },
  //           component: () => import("@/views/center/workingUnit/unit.vue")
  //         },
  //       ]
  //     },{
  //       path: "/center/workingUnitPage/uniDetail",
  //       name: "uniDetail",
  //       meta: { title: "从业单位详细信息", type: "child" },
  //       component: () => import("@/views/center/workingUnit/unitDetail.vue")
  //     },{
  //       path: "/center/workingPersonPage",
  //       name: "workingPersonPage",
  //       meta: { title: "从业人员", type: "child" },
  //       component: () => import("@/views/center/workingPersonPage.vue")
  //     },{
  //       path: "/center/reportCenterPage",
  //       name: "reportCenterPage",
  //       redirect: "/center/reportCenterPage/dslPage",
  //       meta: { title: "举报投诉", type: "child" },
  //       component: () => import("@/views/center/reportCenterPage.vue"),
  //       children: [
  //         {
  //           path: "/center/reportCenterPage/dslPage",
  //           name: "dslPage",
  //           meta: { title: "待受理", icon: "child" },
  //           component: () => import("@/views/center/reportCenter/list.vue")
  //         },
  //         {
  //           path: "/center/reportCenterPage/yslPage",
  //           name: "yslPage",
  //           meta: { title: "已受理", type: "child" },
  //           component: () => import("@/views/center/reportCenter/list.vue")
  //         },
  //         {
  //           path: "/center/workingUnitPage/yclPage",
  //           name: "yclPage",
  //           meta: { title: "已处理", type: "child" },
  //           component: () => import("@/views/center/reportCenter/list.vue")
  //         },
  //       ]
  //     },
  //     {
  //       path: "/center/reportCenterPage/newReport",
  //       name: "newReport",
  //       meta: { title: "举报投诉", type: "child" },
  //       component: () => import("@/views/center/reportCenter/new_report.vue")
  //     },
  //     {
  //       path: "/center/reportCenterPage/detailReport",
  //       name: "detailReport",
  //       meta: { title: "举报投诉结果", type: "child" },
  //       component: () => import("@/views/center/reportCenter/detail_report.vue")
  //     },
  //     {
  //       path: "/center/newsPage/newsDetail",
  //       name: "newsDetail",
  //       meta: { title: "详情", type: "child" },
  //       component: () => import("@/views/center/news/newsDetail.vue")
  //     },

  //   ]

  // },



];

